package com.ruoyi.system.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 流程分类统计视图对象 lc_business_statistics
 *
 * @author ruoyi
 * @date 2023-06-26
 */
@Data
@ExcelIgnoreUnannotated
public class LcBusinessStatisticsVo {

    private static final long serialVersionUID = 1L;

    /**
     * Id
     */
    @ExcelProperty(value = "Id")
    private Long id;

    /**
     * 业务id
     */
    @ExcelProperty(value = "业务id")
    private Long businessId;

    /**
     * 业务名称
     */
    @ExcelProperty(value = "业务名称")
    private String businessName;

    /**
     * 流程数量
     */
    @ExcelProperty(value = "流程数量")
    private Long businessNumber;

    /**
     * 流程类型
     */
    @ExcelProperty(value = "流程类型")
    private String businessType;

    /**
     * 平均节点数量
     */
    @ExcelProperty(value = "平均节点数量")
    private BigDecimal businessAvgNode;

    /**
     * 平均涉及部门数量
     */
    @ExcelProperty(value = "平均涉及部门数量")
    private BigDecimal businessAvgDeptNode;

    /**
     * 平均涉及岗位数量
     */
    @ExcelProperty(value = "平均涉及岗位数量")
    private BigDecimal businessAvgJobNode;

    /**
     * 预估平均耗时评级(0:低 1:中 2:高)
     */
    @ExcelProperty(value = "预估平均耗时评级(0:低 1:中 2:高)")
    private Integer consumingLevel;

    /**
     * 涉及风险点总数
     */
    @ExcelProperty(value = "涉及风险点总数")
    private Integer riskNumber;

    /**
     * 平均风险点数量
     */
    @ExcelProperty(value = "平均风险点数量")
    private BigDecimal riskAvgNumber;

    /**
     * 流程名称
     */
    @ExcelProperty(value = "流程名称")
    private Long processId;

    /**
     * 状态（0正常 1停用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=停用")
    private String status;


}
